package com.xs.designpattern;

/**
 * @author xs
 */
public class Main {
    public static void main(String[] args) {
        // 船长只能操作划艇，但通过适配器他也可以使用渔船
        Captain captain = new Captain(new FishingBoatAdapter());
        captain.row();
    }
}